package tag11_24_07.matrix;

public class Thema3_StringApi {

	public static void main(String[] args) {

		String s1 = "Donnerstag";

		// String-Objekte sind immutable

		s1.toUpperCase();
		System.out.println("s1 = " + s1);

		String s2 = s1.toUpperCase();
		System.out.println("s2 = " + s2);

		// Obegrenze in Java: exklusiv

		// 012345...
		// s1 = Donnerstag
		// ___
		s1 = s1.substring(1, 4);
		System.out.println("s1 = " + s1);
	}

}
